﻿using System.Net;
using Jamhee.Noctiluca.WebServer;
using Jamhee.Noctiluca.LightWiki.PropertyFiles;

namespace Jamhee.Noctiluca.LightWiki.Pages
{
    interface IPageHandler
    {
        void ParseDoc(string contentDocPath, HttpListenerContext context,
            IWebConfiguration webConfig, UrlQueryResult.ActionType actionType);

        void Save(string contentDocPath, HttpListenerContext context,
            IWebConfiguration webConfig);

        void Download(string contentDocPath, HttpListenerContext context,
            IWebConfiguration webConfig);

        void Delete(string contentDocPath, HttpListenerContext context,
            IWebConfiguration webConfig);
    }
}
